$directory = ".\src"  
$extensions = @(".vue")  
$totalLines = 0  
  
Get-ChildItem -Path $directory -Recurse -File | Where-Object { $extensions.Contains($_.Extension.ToLower()) } | ForEach-Object {  
    $lines = Get-Content -Path $_.FullName | Measure-Object -Line  
    $totalLines += $lines.Lines  
}  
  
Write-Host "Total lines of code: $totalLines"